var express = require("express"),
  	isLogin = require("./public/is-login"),
		router = express.Router();
//判断登录
router.get("/" , isLogin.checkLogin);
router.get("/" , function(req , res){
	res.render("adminSite/index" , {
		title : "HXXC-博客后台管理系统",
		data : req.session.admin
	});
})
//接口
module.exports = router;
